const config = {
    testDebug: false,
    // 版本
    get v() {
        return "1.0.0";
    },
    // 地址
    get host() {
        if (this.testDebug) {
          //return "http://39.98.47.159:8080";
            return "http://127.0.0.1:8090";
        } else {
          return "https://app.wjgqt.com";
        }
    },
    // 默认图片的前缀1
    get imgUrls() {
        return this.host + "/Public/WeChatApps/images/";
    },
    // 默认图片的前缀2
    get imgUrl() {
        return "/images/";
    },
    // 请求数据配置 application/x-www-form-urlencoded
    req: {
        header: { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' },
        data: {
            openId: ''
        }
    },
}
module.exports = config